<?php
session_start( );
?>
<?php

$to = "jerry.frcc@gmail.com";
$subject = "from paypal...";
$body = "paremeters:\n";

// dump Paypal POST parameters 
$body = $body."first_name=".$_POST['first_name']."\n";
$body = $body."last_name=".$_POST['last_name']."\n";
$body = $body."payer_email=".$_POST['payer_email']."\n";
$body = $body."contact_phone=".$_POST['contact_phone']."\n";
$body = $body."auth_amount=".$_POST['auth_amount']."\n";
$body = $body."auth_status=".$_POST['auth_status']."\n";
$body = $body."payment_date=".$_POST['payment_date']."\n";
$body = $body."mc_gross=".$_POST['mc_gross']."\n";
$body = $body."mc_fee=".$_POST['mc_fee']."\n";
$body = $body."txn_type=".$_POST['txn_type']."\n";
$body = $body."subscr_date=".$_POST['subscr_date']."\n";
$body = $body."recurring=".$_POST['recurring']."\n";
$body = $body."period3=".$_POST['period3']."\n";
$body = $body."amount3=".$_POST['amount3']."\n";
$body = $body."mc_amount3=".$_POST['mc_amount3']."\n";
$body = $body."item_name=".$_POST['item_name']."\n";
$body = $body."item_number=".$_POST['item_number']."\n";

mail($to, $subject, $body);

$_SESSION['credits']=$col3;
$_SESSION['level']=1;

?>